package ai.people.netmon.framework.domain.websocket.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * WebSocket请求数据VO
 * @author LiGuanNan
 * @date 2022/7/7 10:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WebSocketReqVO<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 消息类型
     */
    private String msgType;

    /**
     * 具体的请求数据
     */
    private T data;
}
